package book.interfaceExample;

public class MainboardImp1 implements Mainboard {

    public void setCpu(CPU cpu) {
        cpu.getName();
        cpu.getSpeed();
    }

    public void setVideoCard(VideoCard videoCard) {
        videoCard.getName();
        videoCard.getVideoMemory();
    }
}
